package com.model.auto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author astupidcoder
 * @since 2022-09-14
 */
@Data
public class MendaoStu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long testId;

    private String stuName;
    /**
     * 手机号码
     */
    private String phone;

    /**
     * 绑定学生id
     */
    private String bindStuId;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 测评结果
     */
    private String list;
    /**
     * 测评时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createdTime;

    /**
     * 测评名称
     */
    @TableField(exist = false)
    private String testName;

    /**
     * 测评图片
     */
    @TableField(exist = false)
    private String testImage;

    /**
     * 测评介绍
     */
    @TableField(exist = false)
    private String testIntroduction;

    /**
     * 题目数量
     */
    @TableField(exist = false)
    private Integer questionsNum;

    /**
     * 测评耗时，单位分钟
     */
    @TableField(exist = false)
    private Integer totalTime;

}
